package com.itheima.service;

import com.hmall.common.dto.Item;
import com.hmall.common.dto.ItemDoc;
import com.hmall.common.dto.PageDTO;
import com.itheima.pojo.RequestParams;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface SearchabcService {

    List<String> AutoSuggestion(String key);

    Map<String, List<String>> getFilters(RequestParams params);

    PageDTO<ItemDoc> basicSearch(RequestParams requestParam);
}
